package com.bimiaomiao.service04.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @description:
 * @package com.bimiaomiao.service04.service
 * @who MiaoMiao "Sprout" BI
 * @date 2021-02-25 11:37:41
 */
@FeignClient(name="app02",fallback = Service02Hystrix.class)  //此处为 其它服务注册到nacos中的服务名
@RequestMapping("/service02") //此处为app01服务的controller服务名
public interface Service02 {

    @RequestMapping("demo02")  //此处为app01服务中controller服务名下的demo01方法
    String demo02();
}
